var fs = require('fs');
var path = require('path');

exports.appendFile = function(targetPath,data){	
	targetPath = path.resolve('.') + targetPath;
	data = data + '\r\n';
	fs.appendFile(targetPath,data,(err) => {
		if(err) return;
		console.log('写入成功')
	})
}
